home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16673 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: news.corp.sgi.com!user
  2. From: sandvik@sgi.com (Kent Sandvik)
  3. Newsgroups: comp.lang.java,comp.lang.c++,comp.lang.smalltalk
  4. Subject: Re: Will Java kill C++?
  5. Date: Thu, 11 Apr 1996 10:24:34 -0800
  6. Organization: Silicon Graphics, Inc.
  7. Message-ID: <AD928E629668235490@150.166.131.189>
  8. References: <3134D499.653E@ix.netcom.com> <4jgv6t$hon@kadath.zeitgeist.net> <4k3cdo$np5@taurus.adnc.com> <DpEJnu.DDL@news.hawaii.edu> <Dpo600.DzG@undergrad.math.uwaterloo.ca>
  9. NNTP-Posting-Host: mac-sandvik.engr.sgi.com
  10.  
  11. In article <Dpo600.DzG@undergrad.math.uwaterloo.ca>,
  12. clgonsal@undergrad.math.uwaterloo.ca (Carl Laurence Gonsalves) wrote:
  13.   >The biggest feature I see missing from Java would be generics. After
  14. that
  15.   >would be functions as objects. That's in order of haow useful I'd find
  16.   >these things to be. I've never had a use for multiple implementation
  17.   >inheritance, and I've never seen any example that really needed it.
  18.   >(I'm not saying they don't exist. I've just never seen such a case, and
  19.   >can't think of one.)
  20.  
  21. I would like to mix in assertion debugging behavior into AWT framework
  22. classes, or in general into any classes that are fixed in a single
  23. inheritance hierarchy. It becomes a little bit tedious to always copy and
  24. paste the same method into each class I need it inside... In C/C++ I could
  25. at least use macros for this. Anyway, that's one reasonable case. Then
  26. again I'm no big fan of multiple inheritance, it makes design look like
  27. spagetti in the worst case.
  28.  
  29. --Kent
  30.  
  31.  
  32.  
  33.           Kent Sandvik, Silicon Graphics, Inc.    Member of Technical Staff
  34.                              Email: sandvik@sgi.com  Phone: +1 415 933-6417
  35.                     http://reality.sgi.com/sandvik/  (sgi http:/kent.engr/)
  36.                                              "May all developers be happy."
  37.